package com.happy.table;

import java.util.List;

/**
 * @Author : Yan
 * @Description : tableTd
 */
public class Td {

    // 替换字符
    private String tdReplace = TableReplace.TD.getValue();

    // td html
    private String tdHtml = "<td>" + this.tdReplace + "</td> \n";

    public Td(String value){
        this.tdHtml = this.tdHtml.replace(this.tdReplace, value);
    }

    public String getTdHtml(){
        return this.tdHtml;
    }

}
